package com.spring.sunflower.constant;

import com.spring.sunflower.BuildConfig;

/**
 * Created by Kevin on 2021/6/2<br/>
 * <p>
 * Describe:<br/>
 */
public class Constant {
    public static boolean shouldShowLuckyMatchDialog = true;//是否可以弹出缘分匹配弹窗
    public static boolean shouldShowCallDialog = true;//是否可以弹出假视频页面
    public static boolean isInCall = false;
//    public static boolean isInCheckEnvironment = false;//是否在审核
    public final static String VIDEO_CALL_SHOW = "videoCallShow";//仅仅展示页面

    public final static String KEY_SHOW_FOLLOWED_DIALOG = "showFollowedDialog";
    public final static String KEY_SHOW_VIDEO_RULE_DIALOG = "showVideoRuleDialog";
    /**
     * 判断聊天来源，是否是在线客服还是普通聊天，来动态显示功能图标
     */
    public final static String IS_FROM_HELP = "isFromHelp";
    public final static String OFFICIAL_SERVICE_AVATAR = "https://yuyue-pro.oss-cn-shenzhen.aliyuncs.com/客服头像.png";
    /**
     * 是否开启切换环境模式的key，默认false
     */
    public final static String switchEnvironmentDialogShow = "switchEnvironmentDialogShow";
    public final static String PACKAGE_NAME = "com.spring.sunflower";
    public final static String CHANNEL_TEST = "appTest";
    public final static String CHANNEL_SI = "si";//丝
    public final static String CHANNEL_SUNFLOWER = "sunflower";
    public final static String CHANNEL_SUNFLOWER_XIAOMI = "sunflower_xiaomi";
    public final static String CHANNEL_SUNFLOWER_HUAWEI = "sunflower_huawei";
    public final static String CHANNEL_SUNFLOWER_VIVO = "sunflower_vivo";
    public final static String CHANNEL_SUNFLOWER_BAIDU_ABLO = "sunflower_baidu_ablo";
    public final static String CHANNEL_STRANGE = "strange";
    public final static String CHANNEL_CUKE = "cuke";
    public final static String CHANNEL_CHERRY = "cherry";
    public final static String CHANNEL_EGGPLANT = "eggplant";
    public final static String CHANNEL_LOOFAH = "loofah";
    public final static String CHANNEL_DURIAN = "durian";
    public final static String CHANNEL_LIAN = "lian";

    public final static String KEY_AGREEMENT = "key_agreement";
    public final static String KEY_ACCOUNT_OFF = "account_off";//账号注销
    public final static String KEY_FIRST_LOGIN = "isFirstLogin";//首次使用，即使绑定了手机也要弹登录页面
    /**
     * 申请提现的key<br/>
     * 一天只能申请一次
     */
    public final static String KEY_APPLY_WITHDRAW = "hasApplyWithdraw";
    /**
     * 点击退出登录按钮
     */
    public final static String KEY_HAS_CLICK_LOGOUT = "hasClickLogout";
    public static boolean hasBeautyConfig = false;
    public static String tempBeautyConfig = "";
    public final static String KEY_BEAUTY_CONFIG = "BEAUTY_CONFIG";

    public final static String KEY_SAY_HELLO = "SAY_HELLO";//一键打招呼 只调用一次
    public final static String KEY_NEWER_GIFT = "NEWER_GIFT";//新手礼包 只调用一次

    public final static String KEY_REGISTER_NICKNAME = "REGISTER_NICKNAME";//新注册用户未选择性别前后台返回男昵称
    public final static String KEY_REGISTER_NICKNAME_FEMALE = "REGISTER_NICKNAME_FEMALE";//新注册用户未选择性别前后台返回男昵称


    public final static String KEY_CHAT_RING = "chat_ring";//
    public final static String KEY_CHAT_VIBRATE = "chat_vibrate";//新消息振动

    public final static String KEY_NEWER = "NEW_USER";//新用户
    public final static String KEY_NICKNAME = "NICKNAME";
    public final static String KEY_TOKEN = "TOKEN";
    public final static String KEY_GENDER = "GENDER";//1男2女
    public final static String KEY_SIGNATURE = "SIGNATURE";
    public final static String KEY_PHOTO = "PHOTO";
    public final static String KEY_MOBILE = "MOBILE";
    public final static String KEY_TYPE = "TYPE";
    public final static String KEY_WEALTH = "WEALTH";
    public final static String KEY_USERID = "USERID";
    public final static String KEY_TARGET_ID = "TARGET_ID";
    public final static String KEY_WEB_VIEW_TITLE = "webView_title";
    public final static String KEY_WEB_VIEW_URL = "webView_url";
    public final static String KEY_ONLINE_STATUS = "onlineStatus";
    public final static String KEY_MONEY = "MY_MONEY";
    public final static String KEY_INCOME = "MY_INCOME";
    public final static String KEY_AWARD = "MY_AWARD";

    /**
     * 主播价格
     */
    public final static String KEY_CHATTER_PRICE = "ANCHOR_PRICE";
    public final static String KEY_USERID_CHATTER = "USERID_OTHER";
    public final static String KEY_NICKNAME_CHATTER = "NICKNAME_OTHER";
    public final static String KEY_AVATAR_CHATTER = "AVATAR_OTHER";
    /**
     * 关系页面显示粉丝还是关注页卡
     */
    public final static String KEY_RELATION_TAB_POSITION = "relationTabPos";

    /**
     * 1是男2是女
     */
    public final static String GENDER_MALE = "1";//1是男2是女
    public final static String GENDER_FEMALE = "2";//1是男2是女

    public final static String PAY_TICKET = "1";//1：已支付门票，0：未支付
    public final static String APP_REVIEWING = "1";//1：审核版本，0：非审核版本


    public final static String C2C_CONVERSATION_ID = "conversationID";
    public final static String C2C_USER_ID = "c2c_user_id";
    public final static String C2C_SHOW_NAME = "c2c_show_name";
    public final static String C2C_DRAFT_TEXT = "c2c_draft_text";
    public final static String C2C_FACE_URL = "c2c_face_url";
    public final static String C2C_PINNED = "c2c_pinned";

    public final static String KEY_VIDEO_URL = "video_url";
    public final static String KEY_ANCHOR_ID = "anchor_id";
    public final static String KEY_REPORT_TYPE = "report_type";
    public final static String KEY_GENDER_TYPE = "gender_type";

    public final static String USER_HEIGHT = "userHeight";
    public final static String USER_WEIGHT = "userWeight";
    public final static String USER_EDUCATION = "education";
    public final static String USER_EMOTION = "maritalStatus";
    public final static String USER_JOB = "occupation";
    public final static String USER_HOUSE = "housing";
    public final static String USER_INCOME = "income";
    public final static String USER_HOBBIES = "hobbies";
    public final static String USER_HOBBY_LABEL = "hobbyLabel";

    public final static String USER_NICKNAME = "userNickname";
    public final static String USER_SIGNATURE = "userSignature";

    public final static String USER_PHOTO_LIST = "userPhotoList";
    public final static String USER_VIDEO_LIST = "userVideoList";
    public final static String USER_VOICE_SIGN = "userVoiceSign";
    //进入图片查看器
    public final static String PHOTO_LIST_VIEWER = "photoListViewer";
    //当前位置
    public final static String PHOTO_CURRENT_POSITION = "photoCurrentPosition";

    public final static String CHAT_INFO = "chat_info";

    public final static String ALI_KEY_ID = "ali_key_id";
    public final static String ALI_KEY_SECRET = "ali_key_secret";
    public final static String ALI_SECURITY_TOKEN = "ali_security_token";
    public final static String ALI_ENDPOINT = "https://oss-cn-shenzhen.aliyuncs.com";
    public final static String ALI_BUCKET_NAME = "yuyue-pro";
    public final static String ALI_FILE_PATH = "https://yuyue-pro.oss-cn-shenzhen.aliyuncs.com/";


    /**
     * 客服的ID
     */
    public final static String OFFICIAL_USER_ID_SERVICE = "10001";
    public final static String OFFICIAL_SERVICE_C2C_CONVERSATION_ID = "c2c_10001";
    /**
     * 系统消息ID
     */
    public final static String OFFICIAL_USER_ID = "10000";
    public final static String OFFICIAL_C2C_CONVERSATION_ID = "c2c_10000";
    /**
     * 聊过天的人的集合存储key
     */
    public final static String CHATTED_TIME_STORAGE = "CHATTED_TIME_STORAGE";//

    public final static int REQUEST_CODE_NICKNAME = 10001;
    public final static int REQUEST_CODE_SELF_INTRO = 10002;
    public final static int REQUEST_CODE_HOBBY_LABEL = 10003;
    public final static int REQUEST_CODE_PHOTO_LIST = 10004;
    public final static int REQUEST_CODE_VIDEO_LIST = 10005;
    public final static int REQUEST_CODE_VOICE = 10006;
    public final static int REQUEST_CODE_AUTH_REAL_GRANT = 10007;
    public final static int REQUEST_CODE_AUTH_REAL_SHOT = 10008;
    public final static int REQUEST_CODE_AUTH_REAL_RESULT_BACK = 10009;

    public final static String CUSTOM_MESSAGE_TEXT = "word";
    public final static String CUSTOM_MESSAGE_SOUND = "audio";
    public final static String CUSTOM_MESSAGE_GIFT = "gift";
    public final static String CUSTOM_MESSAGE_PICTURE = "picture";
    public final static String CUSTOM_MESSAGE_SYSTEM = "system";
    public final static String CUSTOM_MESSAGE_VIDEO = "video";
    public final static String CUSTOM_MESSAGE_FILE = "file";
    public final static String CUSTOM_MESSAGE_LOCATION = "location";
    public final static String CUSTOM_MESSAGE_VIDEO_CALL = "videoCall";
    public final static String CUSTOM_MESSAGE_LOCAL_TIME = "localTime";//本地插入时间
    /**
     * 是否是自己拨打的
     */
    public final static String VIDEO_CALL_SELF_DIAL = "isSelfDial";
    public final static String VIDEO_CALL_OTHER_ID = "videoCallOtherId";
    public final static String VIDEO_CALL_OTHER_FACE_URL = "videoCallOtherFaceUrl";
    public final static String VIDEO_CALL_OTHER_NICKNAME = "videoCallOtherNickname";

    public final static String PRIVATE_AGREEMENT = "https://xy.wanyuyue.top/agreement?appId="+ BuildConfig.APPLICATION_ID+"&type=privacy";
    //    public final static String PRIVATE_AGREEMENT = "http://page.wanyuyue.top/yuyuePrivacyAgreement";
//    public final static String REGISTER_AGREEMENT = "http://page.wanyuyue.top/yuyueRegisterAgreement";
    public final static String REGISTER_AGREEMENT = "https://xy.wanyuyue.top/agreement?appId="+BuildConfig.APPLICATION_ID+"&type=register";
    public final static String PAY_AGREEMENT = "https://xy.wanyuyue.top/agreement?appId="+BuildConfig.APPLICATION_ID+"&type=pay";
    public static String BASE_URL = "https://app.wanyuyue.cn/";
    public final static String BASE_URL_TEST = "https://test.wanyuyue.cn/";
    public final static String BASE_URL_LOCAL_TEST = "http://192.168.0.108:8088/";
//    public final static String BASE_URL_PRODUCT = "http://120.77.215.234:8088/";
    public final static String BASE_URL_PRODUCT = "https://app.wanyuyue.cn/";
    public final static String KEY_ENVIRONMENT = "KEY_ENVIRONMENT";
    public final static String KEY_ENVIRONMENT_LOCAL = "KEY_ENVIRONMENT_LOCAL";
    public final static String ENVIRONMENT_TEST = "ENVIRONMENT_TEST";
    public final static String ENVIRONMENT_LOCAL_TEST = "ENVIRONMENT_LOCAL_TEST";
    public final static String ENVIRONMENT_PRODUCT = "ENVIRONMENT_PRODUCT";
    public final static int TRTC_APPID_TEST = 1400651963;
    public final static int TRTC_APPID_PRODUCT = 1400458275;


    //聊天页面点击显示底部键盘面板
    public final static String CLICK_EMOJI = "CLICK_EMOJI";
    public final static String CLICK_TOPIC = "CLICK_TOPIC";
    public final static String CLICK_VOICE = "CLICK_VOICE";
    public final static String CLICK_GIFT = "CLICK_GIFT";

    public final static String STS_KEY_ID = "STS_KEY_ID";
    public final static String STS_KEY_SECRET = "STS_KEY_SECRET";
    public final static String STS_SECURITY_TOKEN = "STS_SECURITY_TOKEN";

    public final static String AUTH_REAL_GRANT = "AUTH_REAL_GRANT";

    public final static String TASK_inviteRegister = "inviteRegister";
    public final static String TASK_dailyFirstCash = "dailyFirstCash";
    public final static String TASK_commentator = "commentator";
    public final static String TASK_receiveGift = "receiveGift";
    public final static String TASK_videoChat = "videoChat";
    public final static String TASK_imChat = "imChat";
    public final static String TASK_accost = "accost";
    public final static String TASK_firstCash = "firstCash";
    public final static String TASK_SupplementaryInfo = "SupplementaryInfo";
    public final static String TASK_uploadPhoto = "uploadPhoto";
    public final static String TASK_uploadVideo = "uploadVideo";
    public final static String TASK_bindMobile = "bindMobile";
    public final static String TASK_releaseVoice = "releaseVoice";
    public final static String TASK_realAuth = "realAuth";
    public final static String TASK_faceAuth = "faceAuth";

    public final static String WELCOME_CONTENT_1 = "请确保你已满18岁并认真阅读";
    public final static String WELCOME_CONTENT_2 = "《用户协议》";
    public final static String WELCOME_CONTENT_3 = "和";
    public final static String WELCOME_CONTENT_4 = "《隐私政策》";
    public final static String WELCOME_CONTENT_5 = "，点击同意表示你已阅读并同意全部条款。为保障你的帐号安全，请授权我们使用设备信息权限，设备信息仅用于生成设备号。";

}
